<?php
 namespace app\index\controller;
 use app\index\controller\BaseController;
 use think\Db;
 
 
 class AboutController extends BaseController{
 	public function index(){
 		$about=db('about')->select();
 		$site_config=db('system')->field('value')->where('name','site_config')->find();
	    $site_config=unserialize($site_config['value']);  
	    $this->assign('about',$about);
	    $this->assign('site_config',$site_config);
 		return $this->fetch();
 	}
 	
 }
?>